package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class User {
    private Long id; // 主键      long   index:true
    private String name;// 姓名   type: keyword  index:true
    private Integer age;// 年龄   integer index:true
    private String gender;// 性别  type: keyword  index:true
    private String note;// 备注    type: text  index:true  analyzer: ik_max_word
}